Implementation of Object-oriented Design with Fortran Language in Beam Dynamics Studies

نویسنده

  • J. Qiang
چکیده

In this paper, an object-oriented design for beam dynamics simulations in accelerators is implemented using Fortran language. Using module and derived type in F90, we can emulate object concept in the object-oriented design. This gives Fortran code a better maintainability, reusability, and extensibility. The overhead associated with the objectoriented implementation has only a minor effect on performance.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Parallel Object-oriented Design in Fortran for Beam Dynamics Simulations∗

In this paper we describe an object-oriented software design approach, using Fortran 90 (F90) and the Message Passing Interface (MPI), for modeling the transport of intense charged particle beams. The object-oriented approach improves the maintainability, resuability, and extensibility of the software, while the use of explicit message passing provides the freedom necessary to achieve high perf...

متن کامل

Declarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey

One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...

متن کامل

Object-Oriented Implementation of Field Recovery and Error Estimation in FEM

1. INTRODUCTION Computer programs for numerical solution of partial diierential equations are traditionally coded in the FORTRAN programming language. The computational intensive parts of such programs, either they are based on the nite element (FE) method or some other numerical procedure, consist mainly of various vector and matrix operations. FORTRAN has therefore been regarded as the best c...

متن کامل

Combining Object-Oriented and Procedural Programming in Software

Large engineering software packages in procedural languages reach complexity limits for further development. Complete reimplementation in modern object-oriented languages is often financially not feasible. Problems and solution approaches are discussed using naval architectural design software as demonstrator. Concrete examples for the implementation of modern object-oriented elements into clas...

متن کامل

Algorithms for Higher Order Automatic Differentiation in Many Variables with Applications to Beam Physics

Efficient algorithms for automatic differentiation with several variables and high orders are presented. The algorithms are geared towards sparse vectors, which is particularly important in this case and allows significant savings in computer time. Besides the mere computation of derivatives, algorithms for the efficient composition and inversion of functions with sparse derivatives are discuss...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999